﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Cid
{
	/// <summary>
	/// Interaction logic for Dashboard.xaml
	/// </summary>
	public partial class Dashboard : Window
	{
		public Dashboard()
		{
			InitializeComponent();
			this.Loaded += new RoutedEventHandler(Dashboard_Loaded);
		}

		protected override void OnKeyDown(KeyEventArgs e)
		{
			if (e.Key == Key.F5)
			{
				Display display = new Display();
				display.Show();
			}
			base.OnKeyDown(e);
		}

		void Dashboard_Loaded(object sender, RoutedEventArgs e)
		{
	
		}

		private void ShowDisplayMenuItem_Click(object sender, RoutedEventArgs e)
		{
			Display display = new Display();
			display.Show();
		}

		private void ExitMenuItem_Click(object sender, RoutedEventArgs e)
		{
			App.Current.Shutdown();
		}
	}
}
